<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="WangID通城">
<meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1">
<title>WangID通城</title>
<link rel="stylesheet" href="css/index.css" type="text/css">
<link rel="stylesheet" href="css/zy.css" type="text/css">
<link rel="stylesheet" href="css/swiper.min.css" type="text/css">
<script type="text/javascript" src="js/swiper.min.js"></script>
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
	<script src="/js/plugins/jrender/jrender.js"></script>
<script src="/js/common.js"></script>

</head>
<body> 
<!--页面内容
<div id="yemnr">--> 
<!--头部--> 
<div class="toub_beij toub_beij_zy">
	<div class="zhongj_k zhongj_k_z">
		<div class="jiu_feo">
			<div class="logo_k logo_k_fanh"><a href="/shopping/mypoint.html"><img class="fanh_ann" src="images/web/fanh.png"></a></div>
			<div class="zhongjain_daoh">
				<ul>
					<li><a class="zyyge">兑换记录</a></li>
				</ul>
			</div>
		</div> 
	</div>
</div>
<script type="text/javascript">
	//滑动头部透明（针对首页头部用）
	window.onscroll=function(){

	var autoheight=document.body.scrollTop||document.documentElement.scrollTop;
	if(autoheight>10){
		$(".toub_beij").css("position" ,"fixed")
		}else{
			$(".toub_beij").css("position" ,"relative")
		}
	}
</script>
<!--内容-->
<!--<div class="jie_diz">
	<a href="收获地址.html">
		<p>潘中全 182*****710</p>
		<p class="p">贵州贵阳市云岩区城区下合群路达亨大厦1606 <i></i></p>
	</a>
</div>
<div class="caix"></div>-->
<div class="gouwuc_kk gouwuc_kk_jies" id="recordlist">
 	<ul render-loop="list">
 		<li> 
 			<div class="diannao_shanp"> 
 				<a href="商品页面.html"><h1><img render-src="list.goods.coverUrl"></h1></a>

				<div class="you">
 					<a href="商品页面.html"><p class="px24 bt" render-html="list.goods.title"></p></a>
 					<p class="xh" render-html="list.goods.description"></p>
					<p style="float: right;" class="px24 bt" render-html="list.addTimeString"></p>
 					<div class="youjfy">
						<div class="goum_sl">
							<p class="px26 jiaq"><em render-html="list.goods.price"></em>积分</p>
							<div class="counter_box">
								<!--<i class="jian">-</i>-->
								<p>数量: <em  class="px24 bt" render-html="list.countString"></em></p>
								<!--<input type="number" value="1"  render-value="list.countString">-->
								<!--<i class="jia">+</i>-->
							</div>
						</div>
 					</div> 
 				</div>

 			</div>
 		</li>
 	</ul>
</div>
<!--<div class="peis_xz">
	<div class="kuaid"><a href="快递.html"><p>配送方式</p><span>申通快递<i></i></span></a></div>
	<div class="kuaid"><a href="#"><p>发票信息</p><span>电子发票明细<i></i></span></a></div>
</div>
<div class="zhifu_fangs">
	<h1>支付方式</h1>
	<ul id="oul">
		<li class="no">在线支付</li>
		<li>货到付款</li>
	</ul>
</div>
<div class="gei_shangj_ly">
	<h1>给商家留言：</h1>
	<input type="text" name="" placeholder="请您留言">
</div>
<div class="jies_qian">
	<div class="shangpjis">
		<h1>商品总计</h1>
		<p>
			<em>x1</em>
			<span>¥6588.00</span>
		</p> 
	</div>
	<div class="shangpjis">
		<h1>运费</h1>
		<p> 
			<span>¥00.00</span>
		</p> 
	</div>

</div>-->



<!--底部导航-->
<!---->
<!--<div class="dib_daoh_b">
	<div class="gouwuc_ gouwuc_yem jiesy"> 
		<div class="zhong"><p>总计：<em>￥6588.00</em></p></div>
		<div class="you">
			<div class="goum">
				<a href="订单页面.html">提交订单</a>
			</div>
		</div>
	</div>
</div>-->
<!--大框div
</div>-->
<!--搜索页面--> 
</body>
</html>

<script type="text/javascript">
	$(function () {
        //获取当前用户ID
        var id = getUser().id;
        //查询当前用户的兑换记录
		$.get("/users/"+id+"/record",{state:1},function (data) {
            console.log(data);
            $("#recordlist").renderValues(data);
        })

    })


	/*window.onload=function(){
		 var oUl=document.getElementById('oul');
		 var oXunHuan=oUl.getElementsByTagName('li')
		 for (var i=0; i<oXunHuan.length; i++)
		 {
		 	oXunHuan[i].onclick=function()
		 	{
		 		 for (var i=0; i<oXunHuan.length; i++)
		 		 {
		 		 	oXunHuan[i].className='';
		 		 }
		 		 this.className='no';
		 	}
		 }
 };*/
 
</script> 